class CustAcctChgEntity {
  //ID
  String id = "";
  //动作类型
  String actType = "";
  //动作类型名称
  String actTypeName = "";
  //客户账户发生额
  String custAccountChgVal = "";
  //是否积分
  String isIntegral = "";
  //相关的规格名称（商品名称、团名称、如果是取现则是“取现”两字）
  String aboutSpecName = "";
  //发生时间
  String createDate = "";

  CustAcctChgEntity(
      {this.id,
      this.actType,
      this.actTypeName,
      this.custAccountChgVal,
      this.isIntegral,
      this.aboutSpecName,
      this.createDate});

  CustAcctChgEntity.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    actType = json['actType'];
    actTypeName = json['actTypeName'];
    custAccountChgVal = json['custAccountChgVal'];
    isIntegral = json['isIntegral'];
    aboutSpecName = json['aboutSpecName'];
    createDate = json['createDate'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['actType'] = this.actType;
    data['actTypeName'] = this.actTypeName;
    data['custAccountChgVal'] = this.custAccountChgVal;
    data['isIntegral'] = this.isIntegral;
    data['aboutSpecName'] = this.aboutSpecName;
    data['createDate'] = this.createDate;
    return data;
  }
}
